import request from '@/utils/request'

// 统计数字
export function info(data) {
  return request({
    url: '/dashboard/info',
    method: 'post',
    data
  })
}

export function getWidget(id, data) {
  console.log(`id==`, id)
  return request({
    url: '/dashboard/widget/' + id,
    method: 'post',
    data
  })
}
